Set-DynamicDistributionGroup  exchange 2007
Hello Davide, Please try a slightly different format... Set-DynamicDistributionGroup -Identity DistributionGroupName -RecipientContainer ‘domain.com/ouname’ In other words use the domain name followed by the OU name, instead of using the distinguished name. You will need to specify the path such as domain.com/parentOUname/OUname..... Regards
January 11th, 2012 4:32pm

Hi Fraser, Thanks, I tried by same results , all the domain users are listed in preview, should be possible that preview is wrong but DL expansion should right? Thank you so mutch Davide
Free Windows Admin Tool Kit Click here and download it now
January 11th, 2012 6:11pm

Hi Davide, I can appreciate you may like doing this via the exchange management shell however in this case I would open EMC > recipient configuration > distribution group > right click dynamic distribution list > properties > filter tab. From there you can browse and manually select the recipient container. On the properties of the distribution group you can also change the group name etc. If you find any of the options are greyed out using this method it is likely that the group was created in AD and so you should go there to make these amendments. Kind Regards
January 11th, 2012 7:19pm

On Wed, 11 Jan 2012 11:30:16 +0000, Davide Lazzari wrote: > > >I'm trying to change a DynamicDistributionGroup like the following: > >Set-DynamicDistributionGroup -Identity "TESTDDL" -RecipientContainer "OU=Users,OU=Milan,OU=Subsidiary,OU=Italy,DC=XXXX,DC=XXX" -RecipientFilter {LastName -notlike "Rossi" -and recipienttype -eq "UserMailbox"} > >DDL correctly changed without errors but it seems that the -recipientcontainer option is ignored, the DDL contain all the domain Usermailbox execpted the Rossi ones From where (and how) are you getting the contents of the DDL? Are you using the EMC or are you using the EMS? If you're using the EMS, try the example you see here: http://technet.microsoft.com/en-us/library/bb232019.aspx $MarketingGroup = Get-DynamicDistributionGroup "Marketing Group" Get-Recipient -RecipientPreviewFilter $MarketingGroup.RecipientFilter -OrganizationalUnit $MarketingGroup.OrganizationalUnit It's for Exchange 2010 but it works for Exchange 2007, too. --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
January 12th, 2012 1:54am

On Wed, 11 Jan 2012 11:30:16 +0000, Davide Lazzari wrote: > > >I'm trying to change a DynamicDistributionGroup like the following: > >Set-DynamicDistributionGroup -Identity "TESTDDL" -RecipientContainer "OU=Users,OU=Milan,OU=Subsidiary,OU=Italy,DC=XXXX,DC=XXX" -RecipientFilter {LastName -notlike "Rossi" -and recipienttype -eq "UserMailbox"} > >DDL correctly changed without errors but it seems that the -recipientcontainer option is ignored, the DDL contain all the domain Usermailbox execpted the Rossi ones From where (and how) are you getting the contents of the DDL? Are you using the EMC or are you using the EMS? If you're using the EMS, try the example you see here: http://technet.microsoft.com/en-us/library/bb232019.aspx $MarketingGroup = Get-DynamicDistributionGroup "Marketing Group" Get-Recipient -RecipientPreviewFilter $MarketingGroup.RecipientFilter -OrganizationalUnit $MarketingGroup.OrganizationalUnit It's for Exchange 2010 but it works for Exchange 2007, too. --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
January 12th, 2012 1:54am

Yes, Rich is right. In Exchange 2007, when you try to check with EMS, you can refer to this document: How to View Members of a Dynamic Distribution Group http://technet.microsoft.com/en-us/library/bb232019(EXCHG.80).aspx Thanks, Evan Evan Liu TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
January 18th, 2012 6:59am

Yes, Rich is right. In Exchange 2007, when you try to check with EMS, you can refer to this document: How to View Members of a Dynamic Distribution Group http://technet.microsoft.com/en-us/library/bb232019(EXCHG.80).aspx Thanks, Evan Evan Liu TechNet Community Support
January 28th, 2012 10:59pm

I'm trying to change a DynamicDistributionGroup like the following: Set-DynamicDistributionGroup -Identity "TESTDDL" -RecipientContainer "OU=Users,OU=Milan,OU=Subsidiary,OU=Italy,DC=XXXX,DC=XXX" -RecipientFilter {LastName -notlike "Rossi" -and recipienttype -eq "UserMailbox"} DDL correctly changed without errors but it seems that the -recipientcontainer option is ignored, the DDL contain all the domain Usermailbox execpted the Rossi ones
Free Windows Admin Tool Kit Click here and download it now
January 29th, 2012 6:35am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics